package cn.group7.padserver.dao;

import cn.group7.padserver.entity.MyPurchase;
import cn.group7.padserver.pojo.Purchase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 谷汉斌
 * @description
 * @createTime 2024/8/4 下午4:41
 */
@Mapper
public interface PurchaseDao {

    int insertSelective(Purchase purchase);

    Purchase selectNewPurchaseId(String ownName);

    List<MyPurchase> selectByPurchase(MyPurchase myPurchase);
}
